import { modal } from 'vue-strap'
import DatePicker from 'vue-datepicker'
import getDatePickerOption from '../../../util/date-picker-option'
import Configure from '../activity-configure/configure.vue'
export default {
  name: 'Activity-add',
  components: {
    'vue-modal': modal,
    'vue-date-picker': DatePicker,
    'activity-configure': Configure
  },
  data() {
    return {
      showAddModal: false,
      ac: {
        name: '',
        gold: null,
        title: '',
        skipUrl: '',
        startTime: '',
        endTime: '',
        hide: 0
      },
      datePickerOption: getDatePickerOption()
    }
  },
  methods: {
    addModal() {
      this.showAddModal = true
    }
  }
}
